home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
hostname.z
/
hostname
Wrap
Text File
|
1998-10-20
|
2KB
|
67 lines
HHHHOOOOSSSSTTTTNNNNAAAAMMMMEEEE((((1111)))) HHHHOOOOSSSSTTTTNNNNAAAAMMMMEEEE((((1111))))
NNNNAAAAMMMMEEEE
hostname - set or print name of current host system
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
hhhhoooossssttttnnnnaaaammmmeeee [-s] [nameofhost]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_H_o_s_t_n_a_m_e prints the name of the current host. The -_s option trims any
domain information from the printed name. The super-user can set the
hostname by supplying an argument; this is usually done in the system
setup initialization script ////eeeettttcccc////iiiinnnniiiitttt....dddd////ssssyyyysssseeeettttuuuupppp using the contents of
////eeeettttcccc////ssssyyyyssss____iiiidddd. This setting persists only until the next reboot when the
startup procedure will once again initialize the hostname with the
contents of the above file. To permanently change this value change the
contents of the above file then run hostname as a privileged user.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
gethostname(2), sethostname(2)
PPPPaaaaggggeeee 1111